import IScript from "../IScript";
import {move} from "../../types/msg"
export  class S2C_SyncPositionScript implements IScript {

    private static  _instance = new S2C_SyncPositionScript()
    public static get instance(){
        return S2C_SyncPositionScript._instance;
    }
    private constructor(){}

    excute(obj: any) {
        this.handle(obj )
    }

    handle(msg: move.C2S_SyncPosition) {
        console.log("消息处理器处理消息：",msg);
    }
}

export default S2C_SyncPosition.instance